﻿@model TypeWrite.MVC4.Areas.Setup.Models.AdminAccount
@{
    ViewBag.Title = "Admin Account";
}

<h2>Create Default Administration Account</h2>

@using (Html.BeginForm())
{
    <fieldset>
        <legend>Admin Credentials</legend>

        <p>Provide the credentials for the default administrator. More admin accounts can be added later.</p>

        <div class="editor-label">
            @Html.LabelFor(model => model.Username)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Username)
            @Html.ValidationMessageFor(model => model.Username)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Password)
        </div>
        <div class="editor-field">
            @Html.PasswordFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Email)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Email)
            @Html.ValidationMessageFor(model => model.Email)
        </div>

    </fieldset>
    
    <input type="submit" value="Next" />
}